package rlpw.swing;

import java.util.List;

public interface CheckModel<E> extends Mode {

    public boolean isChecked(int index);

    public boolean isChecked(E element);

    public void setChecked(int index, boolean check);

    public void setChecked(E element, boolean check);

    public void setAllChecked(boolean check);

    public List<E> getChecked();

    public int countChecked();
}
